﻿using System;

namespace Web.Base.Models.Game
{
    public class UserInfo
    {
        /// <summary>
        /// 用户GUID
        /// </summary>
        public string Guid { get; set; }

        /// <summary>
        /// 游戏Id
        /// </summary>
        public int GameId { get; set; }

        /// <summary>
        /// 服Id
        /// </summary>
        public int ServerId { get; set; }

        /// <summary>
        /// 游戏中角色名
        /// </summary>
        public string RoleName { get; set; }

        /// <summary>
        /// 游戏Vip
        /// </summary>
        public int Vip { get; set; }

        /// <summary>
        /// 游戏中等级
        /// </summary>
        public int Level { get; set; }

        /// <summary>
        /// 游戏中金币
        /// </summary>
        public int Currency { get; set; }

        /// <summary>
        /// 扩展信息
        /// </summary>
        public string Extra { get; set; }

        /// <summary>
        /// 最后一次登录时间
        /// </summary>
        public DateTime? LastLoginOn { get; set; }

        //public bool Status { get; set; }

        //public string Message { get; set; }

        public DateTime ModifiedOn { get; set; }

        public UserInfo(string guid)
        {
            Guid = guid;
        }
    }
}